package com.qef.com.mmovie.activity;

import android.graphics.Color;
import android.support.v7.widget.Toolbar;

import com.qef.com.mmovie.R;
import com.qef.com.mmovie.base.SimpleActivity;
import com.qef.com.mmovie.utils.HindToolbar;

import butterknife.BindView;
import butterknife.ButterKnife;

/**
 * Created by guangjiego on 2017/5/15.
 */

public class UpDateHeadImgActivity extends SimpleActivity {
    @BindView(R.id.toolbar)
    Toolbar toolbar;

    @Override
    protected int getLayout() {
        HindToolbar.setHintWindowTitle(getWindow());
        return R.layout.layout_change_head;
    }

    @Override
    protected void initEventAndData() {
        initView();
//        initData();
    }

    private void initView() {
        ButterKnife.bind(this);
        toolbar.setNavigationIcon(R.mipmap.ic_arrow_back_white_24dp);
        toolbar.setNavigationOnClickListener(v -> onBackPressed());
        toolbar.setTitle("修改头像");
        toolbar.setTitleTextColor(Color.WHITE);
    }

}
